//
// Created by DELL on 2023/11/27.
//

#include "task_superc.h"
#include "cmsis_os2.h"
#include "auto_superc.h"

float tickstart = 0;
float ticktime = 0;
void SuperCTask(void *argument)
{
    /* USER CODE BEGIN SuperCTask */
    SC_PID_Init();
    tickstart = xTaskGetTickCount();
    /* Infinite loop */
    for(;;)
    {
        super_cap_control();
        osDelay(2);
    }
    /* USER CODE END SuperCTask */
}